package com.woniuxy.service.impl;

import com.woniuxy.mapper.UserMapper;
import com.woniuxy.service.UserService;
import com.woniuxy.vo.UserVO;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;
import java.util.Map;

@Service
public class UserServiceImpl implements UserService {
    @Resource
    private UserMapper userMapper;
    @Override
    public List<UserVO> selectUserByExample(Map<String, Object> map) throws Exception {
        return userMapper.selectUserByExample(map);
    }

    @Override
    public int countUserByExample(Map<String, Object> map) throws Exception {
        return userMapper.countUserByExample(map);
    }
}
